package com.icebartech.base.modules.user.service;

import java.util.List;

import com.icebartech.base.modules.user.dto.AppMenuInfoDTO;
import com.icebartech.core.modules.BaseService;

/**
 * 系统菜单表service接口类
 * @author wenhsh
 *
 */
public interface AppMenuService extends BaseService{
    
	/**
	 * 根据用户角色key获取其拥有的左侧菜单
	 * @param roleKey
	 * @return
	 */
    public List<AppMenuInfoDTO> findAppNavbarMenusByRoleKey(String roleKey);
    
    //boolean putMenu2Redis(String  roleKey, List<AppMenuInfo> MenuList);
    
    //List<AppMenuInfo> getMenuFromRedis(String roleKey);
    
    //boolean removeMenuFromRedis(String roleKey);
}
